<!DOCTYPE html>
<html>
<head>
	<title>编辑-更多设置</title>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<meta content="yes" name="apple-mobile-web-app-capable">
	<meta content="yes" name="apple-touch-fullscreen">
	<meta content="telephone=no,email=no" name="format-detection">
	 <link rel="stylesheet" href="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/css/normalize.css" type="text/css">
	  <script type="text/javascript" src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/js/jquery-1.7.2.min.js"></script>
	 <script type="text/javascript">
		!function(a,b){function c(){var b=f.getBoundingClientRect().width;b/i>540&&(b=540*i);var c=b/10;f.style.fontSize=c+"px",k.rem=a.rem=c}var d,e=a.document,f=e.documentElement,g=e.querySelector('meta[name="viewport"]'),h=e.querySelector('meta[name="flexible"]'),i=0,j=0,k=b.flexible||(b.flexible={});if(g){console.warn("将根据已有的meta标签来设置缩放比例");var l=g.getAttribute("content").match(/initial\-scale=([\d\.]+)/);l&&(j=parseFloat(l[1]),i=parseInt(1/j))}else if(h){var m=h.getAttribute("content");if(m){var n=m.match(/initial\-dpr=([\d\.]+)/),o=m.match(/maximum\-dpr=([\d\.]+)/);n&&(i=parseFloat(n[1]),j=parseFloat((1/i).toFixed(2))),o&&(i=parseFloat(o[1]),j=parseFloat((1/i).toFixed(2)))}}if(!i&&!j){var p=(a.navigator.appVersion.match(/android/gi),a.navigator.appVersion.match(/iphone/gi)),q=a.devicePixelRatio;i=p?q>=3&&(!i||i>=3)?3:q>=2&&(!i||i>=2)?2:1:1,j=1/i}if(f.setAttribute("data-dpr",i),!g)if(g=e.createElement("meta"),g.setAttribute("name","viewport"),g.setAttribute("content","initial-scale="+j+", maximum-scale="+j+", minimum-scale="+j+", user-scalable=no"),f.firstElementChild)f.firstElementChild.appendChild(g);else{var r=e.createElement("div");r.appendChild(g),e.write(r.innerHTML)}a.addEventListener("resize",function(){clearTimeout(d),d=setTimeout(c,300)},!1),a.addEventListener("pageshow",function(a){a.persisted&&(clearTimeout(d),d=setTimeout(c,300))},!1),"complete"===e.readyState?e.body.style.fontSize=12*i+"px":e.addEventListener("DOMContentLoaded",function(){e.body.style.fontSize=12*i+"px"},!1),c(),k.dpr=a.dpr=i,k.refreshRem=c,k.rem2px=function(a){var b=parseFloat(a)*this.rem;return"string"==typeof a&&a.match(/rem$/)&&(b+="px"),b},k.px2rem=function(a){var b=parseFloat(a)/this.rem;return"string"==typeof a&&a.match(/px$/)&&(b+="rem"),b}}(window,window.lib||(window.lib={}));</script>
	<style type="text/css">
	body{
		font-family:PingFangSC-Regular;
		background: #FBFBFB;
	}
	a{
		text-decoration: none;
		color:#000;
	}
	ul{
		list-style-type: none;
	}
	.container{
		width:100%;
		height:100%;
		background: #FBFBFB;
	}

	.clear{
		content: '';
		clear:both;
	}

	.regain_bot{
		width:100%;
		height:1.6rem;
		position: fixed;
		bottom: 0;
		left:0;
	}
	.regain_center{
		width:100%;
		height:100%;
		position: relative;
		background: rgba(255,255,255,0.95);
		box-shadow: 0 -0.026667rem 0.16rem 0 rgba(130,130,130,0.50);
	}
	.regain_left{
		width:0.933333rem;
		height:0.933333rem;
		position: absolute;
		top:0.293333rem;
		left:0.4rem;;
	}
	.regain_right{
		width:0.933333rem;
		height:0.933333rem;
		position: absolute;
		top:0.293333rem;
		left:8.666667rem;
	}
	.initial_top{
		width:100%;
		height:8.0rem;
		box-shadow: 0 1px 4px 0 rgba(130,130,130,0.50);
		background: #fff;
	}
	.initial_center{
		width:100%;
		height:1.386667rem;
		padding-top:0.613333rem;
	}
	.initial_text{
		width:0.88rem;
		height:1.386667rem;
		line-height: 1.386667rem;
		float: left;
		font-family:PingFangSC-Semibold;
		font-size: 0.426667rem;
		color: #505050;
		padding-left:0.666667rem;
	}
	.initial_img{
		width:5.013333rem;
		height:1.386667rem;
		float: left;
		padding-left:0.56rem;
	}
	.edit_initial_zhao{
		width:100%;
		height:100%;
		position: fixed;
		top:0;
		left: 0;
		z-index: 9;
		display: none;
	}
	.zhao_center{
		position: relative;
		width:100%;
		height:100%;

	}
	.zhao_top{
		position: absolute;
		top:0;
		left:0;
		width:100%;
		height:100%;
		background: rgba(0,0,0,0.50);
	}
	.edit_yes{
		width:8.826667rem;
		height:6.053333rem;
		background:#fff;
		position: absolute;
		top:4.346667rem;
		left:0.586667rem;
		border-radius: 0.133333rem;
	}
	.edit_yes_top{
		height:4.48rem;
		width:100%;
		border-bottom: 0.026667rem solid #C8C8C8;
	}
	.edit_yes_bot{
		height:1.52rem;
		width:100%;
	}
	.back_left,.yes_right{
		width:4.373333rem;
		height:100%;
		float: left;
		text-align: center;

	}
	.yes_right{
		border-left:0.026667rem solid #C8C8C8;
	}
	.back_left a,.yes_right a{
		line-height: 1.52rem;
		font-family: PingFangSC-Regular;
		font-size: 0.426667rem;
		color: #29A3DA;
	}
	.yes_right a{
		color: #9B9B9B;
	}
	.edit_yes_img{
		width:100%;
		height:1.173333rem;
		padding-top:0.853333rem;
		text-align: center;
	}
	.edit_initial{
		width:100%;
		height:14.426667rem;
	}
	</style>

</head>
<body>
	<div class="container">
		<div class="edit_initial_zhao">
			<div class="zhao_center">
				<div class="zhao_top"></div>
				<div class="edit_yes">
					<div class="edit_yes_top">
						<div class="edit_yes_img">
							<img src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/images/edit_more_setting_s_box_icon_nor.png" style="width:1.386667rem;height:1.173333rem;">
						</div>
						<div style="font-family:PingFangSC-Medium;font-size: 0.426667rem;color: #000;text-align:center;font-weight:bold;padding-top:0.32rem;">是否要恢复到初始设置？
						</div>
						<div style="font-family:PingFangSC-Medium;font-size: 0.32rem;color: #6CDCCE;text-align:center;padding-top:0.32rem;">·添加的文字与图片将不会被恢复并放入垃圾箱·</div>

					</div>
					<div class="edit_yes_bot">
						<div class="back_left"><a>取消</a></div>
						<div class="yes_right" onclick="go()"><a>确定</a></div>
					</div>
				</div>
			</div>

		</div>
		<div class="edit_initial">
			<div class="initial_top">
				<div class="initial_center clear">
					<div class="initial_text">操作</div>
					<div class="initial_img">
						<img src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/images/edit_more_setting_s_restore_the_original_btn_nor.png" style="width:100%;height:100%;">
					</div>
				</div>
			</div>

		</div>
		<div class="regain_bot">
				<div class="regain_center" onclick="back()">
					<div class="regain_left">
						<img src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/images/regain_back.png" style="width:100%;height:100%;">
					</div>
					<div class="regain_right">
						<img src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/images/regain_yes.png" style="width:100%;height:100%;">
					</div>
				</div>
			</div>

	</div>


</body>
	 <script type="text/javascript">
	 	$('.initial_img').click(function(){
	 		$('.initial_center').css('display','none');
	 		$('.edit_initial_zhao').css('display','block');
	 	})
	 	$('.back_left').click(function(){
	 		$('.initial_center').css('display','block');
	 		$('.edit_initial_zhao').css('display','none');
	 	})
	 </script>


<script>
	function go(){
		$.ajax({
			type: "get",//数据发送的方式（post 或者 get）
			url: " {:U('WxBooks/recoverall')}",//要发送的后台地址
//			data:{'wxNumber':wxNumber},//要发送的数据（参数）格式为{'val1':"1","val2":"2"}
			dataType: "json",//后台处理后返回的数据格式
			success:function(data){
//				alert(JSON.stringify(data))
				window.location.href="{U('WebApp/WxBooks/wxbook')}";
			}
		})


	}

	function back(){
		window.history.back(-1);
	}



</script>





</html>